package com.wh.beans;

import java.util.ArrayList;
import java.util.List;

import examples.nntp.newsgroups;
/**
 * jeasyui tree
 * @author Administrator
 *
 */
public class TreeModel {
	private String id;
	private String text;
	private String iconCls;
	private Boolean checked;
	private String state;
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public void setState(String state) {
		this.state = state;
	}

	private String attributes;
	private Object target;
	private List<TreeModel> children=new ArrayList<TreeModel>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public String getAttributes() {
		return attributes;
	}

	public void setAttributes(String attributes) {
		this.attributes = attributes;
	}

	public Object getTarget() {
		return target;
	}

	public void setTarget(Object target) {
		this.target = target;
	}

	public List<TreeModel> getChildren() {
		return children;
	}

	public void setChildren(List<TreeModel> children) {
		this.children = children;
	}

}
